package mips.instruction;

import mips.Reg;
import mips.element.Instruction;

public class LI extends Instruction {
    private Reg rd;
    private int imm;

    public LI(Reg rd, int imm) {
        this.rd = rd;
        this.imm = imm;
    }

    public Reg getRd() {
        return rd;
    }

    public int getImm() {
        return imm;
    }

    public String toString() {
        return "li\t" + rd + " " + imm;
    }
}
